package cate.game.role.res.furniturecall.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBFurnitureCall;

@ClientMsg(title = "手办召唤数据 の 请求")
public class FurnitureCallDataReq implements MsgInput {

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new FurnitureCallDataResp(cc.getRole().getRes().furnitureCall));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBFurnitureCall.DATA_REQ;
    }
}
